package day07.ThreadDemo;

/*
 * Author: JacksonCoder
 * FileName: RunnableDemo
 * Version: 1.0.0
 * Date: 2025/4/14
 */

class MyRunnable implements Runnable{
    @Override
    public void run() {
        System.out.println("Runnable is running: " + Thread.currentThread().getName());
    }
}

public class RunnableDemo {

    public static void main(String[] args) {
        Thread t2 = new Thread(new MyRunnable());
        t2.start();
    }

}
